macro(custom_find_library library)
    if(NOT ${library}_DIR)
        find_library(${library}_DIR NAMES ${library})
    endif()

    if(NOT ${library}_DIR)
        message(STATUS "NOT Found ${library} library")
    else()
        set(${library}_FOUND true)
    endif()
endmacro()